//665100.COM
jQuery(function($){
  $('#sbox').select();
  $('#msbox').focus();
  $('.son').click(function(){
    $('.son').removeClass('avtive');
    $(this).addClass('avtive');
    $('#sbox').focus();
  });
  $('#bing').click(function(){
    $('#sbox').attr('placeholder',"必应");
    $('#sbox').attr('name',"q");
    $('#hid').attr('name',"tn");
    $('#hid').attr('value',"hitoliu.com");
    $('#sget').attr('action',"https://cn.bing.com/search");
    $('#sbut').html("确定");
  });
  $('#videos').click(function(){
    $('#sbox').attr('placeholder',"视频");
    $('#sbox').attr('name',"q");
    $('#hid').attr('name',"tn");
    $('#hid').attr('value',"hitoliu.com");
    $('#sget').attr('action',"https://cn.bing.com/videos/search");
    $('#sbut').html("确定");
  });
  $('#taobao').click(function(){
    $('#sbox').attr('placeholder',"淘宝");
    $('#sbox').attr('name',"q");
    $('#hid').attr('name',"pid");
    $('#hid').attr('value',"mm_118467867_1073800436_109756000491");
    $('#sget').attr('action',"https://s.taobao.com/search?");
    $('#sbut').html("确定");
  });
});